package com.jtny.nytb.equipment.vo.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.NumberFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author 智慧能源中心 - 伍天宇
 * @package com.jtny.nytb.energymonitor.equipment.vo.excel
 * @fileName ExcelInstrumentReportVO.java
 * @createTime 2024年01月15日 12:24
 * @Copyright© 2024 jtny
 * 江投能源技术研究院 版权所有
 */
@Data
@ApiModel("计量器具ExcelVO对象")
public class ExcelInstrumentReportVO implements Serializable {
    @ExcelProperty(value = "计量器具名称")
    @ColumnWidth(30)
    @ApiModelProperty("计量器具名称")
    private String instrumentName;
    @ExcelProperty(value = "上报参量编码")
    @ColumnWidth(30)
    @ApiModelProperty("上报参量编码")
    private String reportCode;

    @ExcelProperty(value = "所属上报数据组合编码")
    @ColumnWidth(30)
    @ApiModelProperty("所属上报数据组合编码")
    private String reportGroupCode;

    @ExcelProperty(value = "与上报数据组合编码算术关系")
    @ColumnWidth(10)
    @NumberFormat
    @ApiModelProperty("与上报数据组合编码算术关系")
    private Integer reportGroupRelation;

    @ExcelProperty(value = "与上报数据组合编码算术系数")
    @ColumnWidth(10)
    @NumberFormat
    @ApiModelProperty("与上报数据组合编码算术系数")
    private Integer reportGroupCoefficient;

}
